package com.win.mapper;

import com.win.pojo.Table;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TableMapper {

    @Select("SELECT TABLE_NAME  as tableName FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'happniesscity'; ")
    List<Table> getTables();
}
